home *** CD-ROM | disk | FTP | other *** search
- property pMyListPosition, pWidth, pHeight, pMyRect, pMyState, pMyPoint, pMyImage, pBlendLevel, pMaxBlend
- global gPicNum
-
- on new me, listPosition
- pMyListPosition = listPosition
- memName = "photos_pic" & gPicNum
- pMyImage = member(memName).image.duplicate()
- pWidth = pMyImage.width
- pHeight = pMyImage.height
- pMyRect = pMyImage.rect
- pMyState = #birth
- pBlendLevel = 0
- case gPicNum of
- 0:
- pMaxBlend = 40
- otherwise:
- pMaxBlend = 100
- end case
- return me
- end
-
- on movePhotosPic me
- case pMyState of
- #birth:
- if pBlendLevel < pMaxBlend then
- pBlendLevel = pBlendLevel + 2
- else
- pMyState = #idle
- end if
- #idle:
- end case
- end
-